//
//  NSString+DeviceInfo.h
//  car_service_seller
//
//  Created by  LiuBi_GC_iMac on 2018/6/30.
//  Copyright © 2018年 cn.sixarm.seller. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (DeviceInfo)

/**
 获取设备IP

 @param preferIPv4 <#preferIPv4 description#>
 @return <#return value description#>
 */
+ (NSString *)getIPAddress:(BOOL)preferIPv4;

/**
 获取设备名称

 @return <#return value description#>
 */
+ (NSString *)getDeviceName;

/**
 获取公网IP地址
 
 @return <#return value description#>
 */
+ (NSString *)getWANIPAddress;
@end
